Skip to content

Implement Verified Author Logic for Publishing Without Review (#1276) #1303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 27, 2025

Conversation

AbdulrahmanReda70
Copy link
Contributor

Description

This PR introduces the backend logic to support #1276: "Allow some article authors to publish without review".

Changes

  • Add verified_author_at column to users table with migration
  • Add methods to check and manage verified author status in User model
  • Add admin interface to verify/unverify authors in UsersController
  • Add publishing limits for verified authors in ArticlesController
  • Add VerifyAuthor and UnVerifyAuthor jobs for queue processing
  • Add user policies for verified author management
  • Add admin view updates for verified author management
  • Add tests for verified author functionality

- Add verified_author_at column to users table with migration
- Add methods to check and manage verified author status in User model
- Add admin interface to verify/unverify authors in UsersController
- Add publishing limits for verified authors in ArticlesController
- Add VerifyAuthor and UnVerifyAuthor jobs for queue processing
- Add user policies for verified author management
- Add admin view updates for verified author management
- Add tests for verified author functionality
@driesvints
Copy link
Member

thank you so much for your work here! I'll need to check when I have some time to review this one so might be awhile, thanks!

@AbdulrahmanReda70
Copy link
Contributor Author

Sounds good, let me know if you have any questions later

wip

Verified

This commit was signed with the committer’s verified signature.
jieyouxu 许杰友 Jieyou Xu (Joe)
wip

Verified

This commit was signed with the committer’s verified signature.
jieyouxu 许杰友 Jieyou Xu (Joe)
wip

Verified

This commit was signed with the committer’s verified signature.
jieyouxu 许杰友 Jieyou Xu (Joe)
wip

Verified

This commit was signed with the committer’s verified signature.
jieyouxu 许杰友 Jieyou Xu (Joe)
wip
wip
@driesvints driesvints merged commit 1f634b1 into laravelio:main Jun 27, 2025
1 check passed
@driesvints
Copy link
Member

Thank you so much for this PR! 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants